package com.yh.correct.controller;

import com.yh.correct.model.Activist;
import com.yh.correct.model.Condition;
import com.yh.correct.model.Page;
import com.yh.correct.model.ResultData;
import com.yh.correct.service.IActivistService;
import com.yh.correct.service.IAnalyzeService;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

import java.text.ParseException;
import java.util.HashMap;
import java.util.Map;

/**
 * Created by lxx on 2017/8/17.
 */
@RestController
@RequestMapping("/analyze")
public class AnalyzeController {

    /**
     * 日志记录
     */
    private static Logger logger = LogManager.getLogger(ActivistController.class);

    /**
     * tree点击返回url
     *
     * @return
     */
    @RequestMapping("/url")
    public ModelAndView analyze() {
        return new ModelAndView("/end/analyze");
    }
}

